package com.atsea.boot.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author linhaizeng
 * @Description UltraSeven
 * @date 2021/11/27-3:44 下午
 */
@Data
@AllArgsConstructor  // 有参构造
@NoArgsConstructor  //无参构造
@Component // 注册为组件
@ConfigurationProperties(prefix = "ultra.seven") // 读取配置
public class UltraSeven {
    private String name;
    private int age;
    private Map<String, Object> maps;
    List<Object> lists;
    UltraAce ultraAce;
}
